package com.pan.behavioral.Interpreter.example.ex01.context;

import com.pan.behavioral.Interpreter.exprerssoin.Expression;

import java.util.Map;
import java.util.StringTokenizer;

public class RootContext implements Context{

    private StringTokenizer stringStatement;
    private Map<String,Expression> funcMap;
    public RootContext(String content){
        this.stringStatement = new StringTokenizer(content,"\n");
    }

    @Override
    public void addFunc(String funcName, Expression funcExpression) {

    }

    @Override
    public Expression getFunc(String funcName) {
        return null;
    }

    @Override
    public void addVar(String name, String value) {

    }

    @Override
    public Expression getVar(String name) {
        return null;
    }

    @Override
    public String nextStatement() {
        return null;
    }

    @Override
    public String currentStatement() {
        return null;
    }
}
